home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 139
/
(Vol 139) Sep 24 2011.iso
/
Games
/
spin_kicker.swf
/
scripts
/
__Packages
/
Game_class.as
< prev
next >
Wrap
Text File
|
2011-09-24
|
14KB
|
333 lines
var §\x01§ = 397;
if(eval("\x01") == 397)
{
set("\x01",eval("\x01") + 181);
§§push(true);
§§push(false);
§§push(false);
§§push(true);
while(true)
{
if(§§pop())
{
}
if(§§pop())
{
}
if(§§pop())
{
break;
}
§§push(true);
§§push(false);
}
if(!eval("\x01")["\x02"])
{
eval("\x01")["\x02"] extends eval(§§constant(6));
var _loc2_ = eval("\x01")["\x02"] = function()
{
super();
this["\x03"] = new §\x04§();
eval(§§constant(4))[§§constant(5)](this);
}[§§constant(7)];
_loc2_[§§constant(8)] = function()
{
var _loc3_ = 1;
while(_loc3_ <= 20)
{
this[§§constant(9)][_loc3_] = _root[§§constant(10)][§§constant(11) + String(_loc3_)];
if(_loc3_ > 10)
{
this[§§constant(9)][_loc3_][§§constant(12)] = 180;
}
_loc3_ = _loc3_ + 1;
}
this[§§constant(13)] = _root[§§constant(10)][§§constant(14)];
this[§§constant(15)] = 0;
this[§§constant(16)] = 0;
this[§§constant(17)] = 0;
this[§§constant(18)] = 0;
_root[§§constant(19)][§§constant(20)](this[§§constant(17)],this[§§constant(18)]);
this[§§constant(21)] = 0;
this[§§constant(22)] = 0;
this[§§constant(23)] = 0;
this[§§constant(24)] = 180000 + getTimer();
this[§§constant(25)] = 0;
_root[§§constant(26)][§§constant(20)](this[§§constant(25)]);
_root[§§constant(27)][§§constant(28)] = 0;
_root[§§constant(16)][§§constant(28)] = 0;
this[§§constant(29)]();
};
_loc2_[§§constant(30)] = function()
{
if(this[§§constant(31)])
{
this[§§constant(8)]();
this[§§constant(31)] = false;
this[§§constant(33)](§§constant(32));
}
if(this[§§constant(34)] && getTimer() > this[§§constant(35)] + this[§§constant(36)] - 500)
{
this[§§constant(33)](§§constant(32));
}
if(this[§§constant(34)] && getTimer() > this[§§constant(35)] + this[§§constant(36)])
{
this[§§constant(34)] = false;
}
this[§§constant(23)] = this[§§constant(24)] - getTimer();
this[§§constant(21)] = String(this[§§constant(23)] / 60000)[§§constant(37)](0,1);
this[§§constant(22)] = String(this[§§constant(23)] / 1000 % 60)[§§constant(37)](0,2);
if(this[§§constant(22)][§§constant(37)](1,2) == §§constant(38))
{
this[§§constant(22)] = 0 + this[§§constant(22)][§§constant(37)](0,1);
}
this[§§constant(17)] = this[§§constant(21)];
this[§§constant(18)] = this[§§constant(22)];
if(this[§§constant(23)] >= 0)
{
_root[§§constant(19)][§§constant(20)](this[§§constant(17)],this[§§constant(18)]);
if(this[§§constant(39)])
{
if(_root[§§constant(10)][§§constant(40)][§§constant(41)] > 170)
{
_root[§§constant(10)][§§constant(40)][§§constant(41)]--;
}
}
if(this[§§constant(42)])
{
if(_root[§§constant(10)][§§constant(40)][§§constant(41)] < 260)
{
_root[§§constant(10)][§§constant(40)][§§constant(41)]++;
}
}
if(this[§§constant(43)])
{
this[§§constant(44)][§§constant(45)](this[§§constant(13)]);
}
if(this[§§constant(46)])
{
this[§§constant(44)][§§constant(47)](this[§§constant(13)]);
}
if(this[§§constant(48)])
{
if(this[§§constant(49)] < this[§§constant(50)])
{
this[§§constant(49)] += 1;
}
else
{
this[§§constant(49)] = 0;
}
if(!this[§§constant(51)])
{
this[§§constant(54)](§§constant(53),§§constant(52),5);
_root[§§constant(10)][§§constant(52)][§§constant(55)] = this[§§constant(44)][§§constant(55)] - 2 * this[§§constant(44)][§§constant(56)];
_root[§§constant(10)][§§constant(52)][§§constant(41)] = this[§§constant(44)][§§constant(41)];
this[§§constant(51)] = true;
}
_root[§§constant(10)][§§constant(52)][§§constant(57)] = this[§§constant(49)] * 2;
}
this[§§constant(13)][§§constant(20)]();
this[§§constant(40)][§§constant(20)]();
this[§§constant(58)][§§constant(20)]();
this[§§constant(59)][§§constant(20)]();
this[§§constant(60)][§§constant(20)]();
this[§§constant(13)][§§constant(20)]();
this[§§constant(40)][§§constant(20)]();
this[§§constant(58)][§§constant(20)]();
this[§§constant(59)][§§constant(20)]();
this[§§constant(60)][§§constant(20)]();
}
else if(!this[§§constant(61)])
{
this[§§constant(61)] = true;
this[§§constant(33)](§§constant(62));
this[§§constant(35)] = getTimer();
}
if(this[§§constant(61)] && getTimer() > this[§§constant(35)] + 1000)
{
eval(§§constant(63))[§§constant(25)] = this[§§constant(15)] + §§constant(64) + this[§§constant(16)] + §§constant(65) + this[§§constant(25)] + §§constant(66);
_root[§§constant(67)]();
}
};
_loc2_[§§constant(68)] = function()
{
var _loc2_ = this[§§constant(44)][§§constant(69)];
if(!this[§§constant(13)][§§constant(70)] && !this[§§constant(44)][§§constant(71)])
{
if(eval(§§constant(4))[§§constant(72)](32))
{
this[§§constant(48)] = true;
}
if(eval(§§constant(4))[§§constant(72)](39))
{
this[§§constant(43)] = true;
}
if(eval(§§constant(4))[§§constant(72)](37))
{
this[§§constant(46)] = true;
}
}
if(eval(§§constant(4))[§§constant(72)](38))
{
this[§§constant(39)] = true;
}
if(eval(§§constant(4))[§§constant(72)](40))
{
this[§§constant(42)] = true;
}
};
_loc2_[§§constant(73)] = function()
{
if(!this[§§constant(13)][§§constant(70)] && !this[§§constant(44)][§§constant(71)])
{
if(!eval(§§constant(4))[§§constant(72)](32) && this[§§constant(48)])
{
this[§§constant(13)][§§constant(74)](this[§§constant(44)][§§constant(12)],this[§§constant(49)]);
this[§§constant(49)] = 0;
this[§§constant(44)][§§constant(12)] = 0;
this[§§constant(48)] = false;
_root[§§constant(10)][§§constant(52)][§§constant(75)]();
this[§§constant(51)] = false;
}
}
if(!eval(§§constant(4))[§§constant(72)](38) && this[§§constant(39)])
{
this[§§constant(39)] = false;
}
if(!eval(§§constant(4))[§§constant(72)](40) && this[§§constant(42)])
{
this[§§constant(42)] = false;
}
if(!eval(§§constant(4))[§§constant(72)](39) && this[§§constant(43)])
{
this[§§constant(43)] = false;
}
if(!eval(§§constant(4))[§§constant(72)](37) && this[§§constant(46)])
{
this[§§constant(46)] = false;
}
};
_loc2_[§§constant(76)] = function(who)
{
if(who == §§constant(11))
{
_root[§§constant(77)][§§constant(78)](2);
this[§§constant(33)](§§constant(79));
this[§§constant(13)][§§constant(70)] = false;
this[§§constant(15)] = this[§§constant(15)] + 1;
this[§§constant(25)] += this[§§constant(15)] * 100;
this[§§constant(25)] += eval(§§constant(80))[§§constant(81)](this[§§constant(15)] * this[§§constant(23)] / 1000);
_root[§§constant(26)][§§constant(20)](this[§§constant(25)]);
_root[§§constant(82)][§§constant(20)](this[§§constant(15)]);
this[§§constant(13)][§§constant(55)] = this[§§constant(9)][15][§§constant(55)] - this[§§constant(9)][15][§§constant(83)];
this[§§constant(13)][§§constant(41)] = this[§§constant(9)][15][§§constant(41)];
this[§§constant(44)] = this[§§constant(9)][15];
this[§§constant(33)](§§constant(32));
this[§§constant(34)] = true;
this[§§constant(35)] = getTimer();
}
else
{
_root[§§constant(77)][§§constant(78)](3);
this[§§constant(33)](§§constant(84));
this[§§constant(13)][§§constant(70)] = false;
this[§§constant(16)] = this[§§constant(16)] + 1;
this[§§constant(25)] -= this[§§constant(16)] * 100;
this[§§constant(25)] -= eval(§§constant(80))[§§constant(81)](this[§§constant(16)] * this[§§constant(23)] / 2000);
_root[§§constant(26)][§§constant(20)](this[§§constant(25)]);
_root[§§constant(85)][§§constant(20)](this[§§constant(16)]);
this[§§constant(13)][§§constant(55)] = this[§§constant(9)][6][§§constant(55)] + this[§§constant(9)][6][§§constant(83)];
this[§§constant(13)][§§constant(41)] = this[§§constant(9)][6][§§constant(41)];
this[§§constant(44)] = this[§§constant(9)][6];
this[§§constant(33)](§§constant(32));
}
};
_loc2_[§§constant(29)] = function()
{
this[§§constant(86)](11,135,36);
this[§§constant(86)](11,129,36);
this[§§constant(86)](11,147,36);
this[§§constant(86)](11,150,36);
this[§§constant(86)](11,159,36);
this[§§constant(86)](11,90,20);
this[§§constant(86)](11,90,20);
this[§§constant(86)](12,-90,15);
this[§§constant(86)](12,-159,36);
this[§§constant(86)](12,-156,36);
this[§§constant(86)](12,-171,36);
this[§§constant(86)](12,180,36);
this[§§constant(86)](12,171,36);
this[§§constant(86)](12,90,15);
this[§§constant(86)](12,165,36);
this[§§constant(86)](12,162,36);
this[§§constant(86)](12,165,36);
this[§§constant(86)](12,162,36);
this[§§constant(86)](13,-90,20);
this[§§constant(86)](13,-141,36);
this[§§constant(86)](13,-150,36);
this[§§constant(86)](13,-165,36);
this[§§constant(86)](13,-90,14);
this[§§constant(86)](14,90,18);
this[§§constant(86)](14,-171,16);
this[§§constant(86)](14,162,17);
this[§§constant(86)](15,-90,15);
this[§§constant(86)](15,-150,20);
this[§§constant(86)](15,150,16);
this[§§constant(86)](16,-90,15);
this[§§constant(86)](16,-150,17);
this[§§constant(86)](16,150,17);
this[§§constant(86)](17,-90,15);
this[§§constant(86)](17,-171,17);
this[§§constant(86)](18,90,15);
this[§§constant(86)](18,-177,17);
this[§§constant(86)](19,-150,20);
this[§§constant(86)](19,150,20);
this[§§constant(86)](19,-177,17);
this[§§constant(86)](20,-150,20);
this[§§constant(86)](20,-177,17);
this[§§constant(86)](20,-90,20);
};
_loc2_[§§constant(86)] = function(player, rotation, power)
{
var _loc2_ = new §\§\§constant(87)§();
_loc2_[§§constant(88)] = rotation;
_loc2_[§§constant(49)] = power;
this[§§constant(9)][player][§§constant(89)][§§constant(90)](_loc2_);
};
_loc2_[§§constant(33)] = function(soundName)
{
this["\x03"][§§constant(91)](soundName);
this["\x03"][§§constant(92)]();
};
_loc2_[§§constant(9)] = new §\§\§constant(93)§();
_loc2_[§§constant(31)] = true;
_loc2_[§§constant(48)] = false;
_loc2_[§§constant(39)] = false;
_loc2_[§§constant(42)] = false;
_loc2_[§§constant(43)] = false;
_loc2_[§§constant(46)] = false;
_loc2_[§§constant(49)] = 0;
_loc2_[§§constant(51)] = false;
_loc2_[§§constant(15)] = 0;
_loc2_[§§constant(16)] = 0;
_loc2_[§§constant(17)] = 0;
_loc2_[§§constant(18)] = 0;
_loc2_[§§constant(21)] = 0;
_loc2_[§§constant(22)] = 0;
_loc2_[§§constant(23)] = 0;
_loc2_[§§constant(25)] = 0;
_loc2_[§§constant(34)] = false;
_loc2_[§§constant(36)] = 3000;
_loc2_[§§constant(35)] = 0;
_loc2_[§§constant(61)] = false;
_loc2_[§§constant(50)] = 40;
§§push(§§constant(94)(eval("\x01")["\x02"][§§constant(7)],null,1));
}
§§pop();
}
else if(eval("\x01") == 578)
{
set("\x01",eval("\x01") + 354);
}